/* Tables */
/* The class "scedit" is used in tables describing working with the statechart editor.
   These tables typically consist of two columns with a textual description in the
   left column and a screenshot on the right. */
table.scedit {
    width: 90%;
    border-collapse: collapse;
}

tr.scedit {
    vertical-align: top
}

table.scedit td {
    border-radius: 0%;
    border-style: solid;
    border-width: 0px;
    padding-bottom: 1ex;
    vertical-align: top;
}

table.scedit td:nth-child(1) {
    width: 75%;
    padding-right: 5%;
}

table.scedit td:nth-child(2) {
    width: 25%;
}

table.scedit img {
    max-width: 100%;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: auto;
    margin-bottom: auto;
    box-shadow: 4px 4px 2px #bbb;
}

.pro-feature {
    border: 2px solid red;
    border-color: rgba(255, 0, 0, 0.75);
    border-width: 2px 0 0 2px;
    position: relative;
    overflow: hidden;
    padding: 10px 20px 0;
    margin-right: -20px;
    margin-bottom: 30px;
}

.pro-feature:before {
    content: "PRO";
    position: absolute;
    top: -10px;
    right: -34px;
    background: red;
    background: rgba(255, 0, 0, 0.75);
    color: white;
    padding: 20px 30px 2px;
    transform: rotate(45deg);
    z-index: 10
}

span.pro-feature {
    padding: 0;
    border-width: 0
}

span.pro-feature:before {
    transform: none;
    padding: 0 3px;
    position: relative;
    top: 0;
    left: 0
}

/* Edit on GitHub: */
.sct-docs h1 {
    /* Make some room for the "Edit on GitHub link": */
    margin-right: 10rem;
    clear: left;
}

.sct-docs .edit-on-github {
    float: right;
    line-height: 45px;
    position: relative;
    margin: 0;
}

.eclipsehelp .edit-on-github {
    display: none
}